import request from '@/utils/request'

export function listEmp(data) {
  return request({
    url: 'station/emp/list',
    method: 'post',
    data: data
  })
}

export function listEmpSample(data) {
  return request({
    url: 'station/emp/sampleList',
    method: 'post',
    data: data
  })
}

export function empDetail(empId) {
  return request({
    url: `station/emp/detail/${empId}`,
    method: 'post'
  })
}

export function empAdd(data) {
  return request({
    url: 'station/emp/add',
    method: 'post',
    data: data
  })
}

export function empUpdate(data) {
  return request({
    url: 'station/emp/update',
    method: 'post',
    data: data
  })
}
export function empInvalid(data) {
  return request({
    url: 'station/emp/invalid',
    method: 'post',
    data: data
  })
}
